-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add new columns for receipts table #1248
feat: add new columns for receipts table #1248
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
ALTER TABLE {{ .SchemaName | default "public"}}.receipts | ||
ADD COLUMN IF NOT EXISTS "parsed_return" JSONB; | ||
|
||
ALTER TABLE {{ .SchemaName | default "public"}}.receipts | ||
ADD COLUMN IF NOT EXISTS "return" bytea; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reorder to match the model please, otherwise we might have issues (similar to the actors table..). Thanks!
ALTER TABLE {{ .SchemaName | default "public"}}.receipts | |
ADD COLUMN IF NOT EXISTS "parsed_return" JSONB; | |
ALTER TABLE {{ .SchemaName | default "public"}}.receipts | |
ADD COLUMN IF NOT EXISTS "return" bytea; | |
ALTER TABLE {{ .SchemaName | default "public"}}.receipts | |
ADD COLUMN IF NOT EXISTS "return" bytea; | |
ALTER TABLE {{ .SchemaName | default "public"}}.receipts | |
ADD COLUMN IF NOT EXISTS "parsed_return" JSONB; | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
resolve the issue: #1247